home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group95b.txt / 000055_icon-group-sender _Mon Jun 19 00:20:18 1995.msg < prev    next >
Internet Message Format  |  1995-09-18  |  3KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 19 Jun 1995 09:03:44 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: 19 Jun 1995 00:20:18 GMT
  4. From: berniegs@ix.netcom.com (Bernie Schneider)
  5. Message-Id: <3s2fs2$3e2@ixnews6.ix.netcom.com>
  6. Organization: Netcom
  7. Sender: icon-group-request@cs.arizona.edu
  8. References: <3s16gr$env@ixnews3.ix.netcom.com>
  9. Subject: Re: ICON and Data Conversion
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11.  
  12. In <3s16gr$env@ixnews3.ix.netcom.com> dcorbo@ix.netcom.com (Dennis
  13. Corbo) writes: 
  14. >
  15. >In the last few years, I've worked on several downsizing and data 
  16. >warehouse projects.  One of the requirements is always to take
  17. mainframe 
  18. >information and convert it into some format that can be loaded into
  19. the 
  20. >new system database, usually UNIX based but I suspect I'll be working 
  21. >with NT soon.  When I perform this work, I require the delivery of a 
  22. >plain ascii text file.  I then use KSH with PERL or AWK to parse the 
  23. >file and create the file(s) for loading.  Some of the conversion 
  24. >processing involves creating relationships with several other files or
  25.  
  26. >database tables for referential integrity or looking up descriptive 
  27. >data, etc.  I am always looking for good tools that can make my work 
  28. >easier and of better quality.  I would like to know if ICON is
  29. suitable 
  30. >for this type of work.  
  31. >
  32. >Dennis Corbo
  33.  
  34. ICON is certainly suitable for this type of work, but even though I
  35. have ICON available for the extensive amounts of data conversion that I
  36. must frequently perform, I was surprised to discover that AWK seems to
  37. be the language that I most frequently choose for most of these tasks.
  38. It's nothing against ICON. I still use it a lot, but it just seems like
  39. AWK has about the right combination of simplicity, power, and ease of
  40. programming for doing data conversions. I understand that AWK was
  41. designed with such tasks in mind.
  42.  
  43. I find that such functions as split, (g)sub, and printf, plus the
  44. regular expressions are indispensible most of the times I have to
  45. convert data, and none of them are available in ICON directly, although
  46. suitable substitutes can be found or developed for them.
  47.  
  48. Incidently I also use PERL, REXX, and occasionally PYTHON, for various
  49. utility tasks, but for the frequent one-shot data conversions, that I
  50. seem to always be encountering, I just naturally seem to gravitate to
  51. AWK most of the time. I guess it's just a better fit to that type of
  52. problem.
  53.  
  54.  
  55.  
  56. -- 
  57. ------------------------------------------------------------
  58. Bernie Schneider:        | The villain who twirls his
  59.                          | mustache is easy to spot. Those
  60.   berniegs@ix.netcom.com | who cloak themselves in good
  61.   hrrd66a@prodigy.com    | deeds are well camouflaged.
  62.                          |             Capt. Jean Luc Picard
  63.